package com.itheima.idea;

public class DemoAtrrIndex {
    public static void main(String[] args) {
        int[] arr = new int[5];
        arr[0] = 11;
        arr[1] = 22;
        arr[2] = 33;
        arr[3] = 44;

        int a = arr[1];
        arr[1] = 0;
        System.out.println(a);
        System.out.println(arr[1]);
    }
}
